\hypertarget{xpt2046_8h}{}\section{xpt2046/xpt2046.h File Reference}
\label{xpt2046_8h}\index{xpt2046/xpt2046.\+h@{xpt2046/xpt2046.\+h}}
\subsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{structxpt2046__win}{xpt2046\+\_\+win}
\begin{DoxyCompactList}\small\item\em initial calibration values for your display Note\+: these values are not rotated \end{DoxyCompactList}\item 
struct \hyperlink{struct__xpt2046}{\+\_\+xpt2046}
\item 
struct \hyperlink{struct__sdev}{\+\_\+sdev}
\end{DoxyCompactItemize}
\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \hyperlink{xpt2046_8h_a0f015f6bedcfd4583ed1133ed6d11963}{X\+P\+T2046\+\_\+\+S\+A\+M\+P\+L\+ES}~8 /$\ast$ number of samples to take $\ast$/
\begin{DoxyCompactList}\small\item\em number of time to read and average results \end{DoxyCompactList}\item 
\#define \hyperlink{xpt2046_8h_a6e35379ae648fa9db798144a9902f8ec}{X\+P\+T2046\+\_\+\+D\+E\+B\+O\+U\+N\+CE}~5 /$\ast$ Debound value in mS $\ast$/
\item 
\#define \hyperlink{xpt2046_8h_abce5dd412f3f040208dab108718fb875}{X\+P\+T2046\+\_\+\+E\+V\+E\+N\+TS}~10 /$\ast$ Number of queued touch events $\ast$/
\item 
\#define \hyperlink{xpt2046_8h_aad6adcb00000ad4cdef14ece5e21bd81}{X\+P\+T2046\+\_\+\+R\+E\+A\+D\+\_\+Y}~0x91    /$\ast$ Read Y position$\ast$/
\begin{DoxyCompactList}\small\item\em only need 4 commands for reading position or touch information \end{DoxyCompactList}\item 
\#define \hyperlink{xpt2046_8h_a1f7063812ae4edbb96165244ee717815}{X\+P\+T2046\+\_\+\+R\+E\+A\+D\+\_\+\+Z1}~0xb1	/$\ast$ Read Z1 $\ast$/
\item 
\#define \hyperlink{xpt2046_8h_aee315feb898d4f6f35389cb3068ad1eb}{X\+P\+T2046\+\_\+\+R\+E\+A\+D\+\_\+\+Z2}~0xc1    /$\ast$ read Z2 $\ast$/
\item 
\#define \hyperlink{xpt2046_8h_aacb7a75fd6c78e1cd4e87fa930654ef6}{X\+P\+T2046\+\_\+\+R\+E\+A\+D\+\_\+X}~0xd1	/$\ast$ Read X position $\ast$/
\end{DoxyCompactItemize}
\subsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
typedef struct \hyperlink{structxpt2046__win}{xpt2046\+\_\+win} \hyperlink{xpt2046_8h_a1e217d8fafba01c2ad20b0986a613316}{xpt2046\+\_\+win\+\_\+t}
\begin{DoxyCompactList}\small\item\em initial calibration values for your display Note\+: these values are not rotated \end{DoxyCompactList}\item 
typedef struct \hyperlink{struct__xpt2046}{\+\_\+xpt2046} \hyperlink{xpt2046_8h_a08bf485f6a48ae0788b72c98a416e01c}{xpt2046\+\_\+t}
\item 
typedef struct \hyperlink{struct__sdev}{\+\_\+sdev} \hyperlink{xpt2046_8h_a4224e555e9e1280374a4987534846703}{sdev\+\_\+t}
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{earth2wireframe_8c_ad0fe97585b8891f5e4f2b9a6426330a4}{M\+E\+M\+S\+P\+A\+CE} void \hyperlink{xpt2046_8h_acb7288fd027f95ea7db88c6f8c7c2c2a}{X\+P\+T2046\+\_\+spi\+\_\+init} (void)
\item 
\hyperlink{earth2wireframe_8c_ad0fe97585b8891f5e4f2b9a6426330a4}{M\+E\+M\+S\+P\+A\+CE} void \hyperlink{xpt2046_8h_a73c23d30b0f5adc10232894c18112778}{X\+P\+T2046\+\_\+key\+\_\+flush} (void)
\item 
\hyperlink{send_8c_a273cf69d639a59973b6019625df33e30}{uint16\+\_\+t} \hyperlink{xpt2046_8h_a1dccf53d8f7692a9ae5f272c7a16f462}{X\+P\+T2046\+\_\+read} (\hyperlink{send_8c_aba7bc1797add20fe3efdf37ced1182c5}{uint8\+\_\+t} cmd)
\item 
int \hyperlink{xpt2046_8h_a02c4dcf896824df15a98acfbe045d19d}{X\+P\+T2046\+\_\+xy\+\_\+raw} (\hyperlink{send_8c_a273cf69d639a59973b6019625df33e30}{uint16\+\_\+t} $\ast$\hyperlink{cordic2c_8c_a46b4b48ef8c0c01099eb3bcdde8aa8db}{X}, \hyperlink{send_8c_a273cf69d639a59973b6019625df33e30}{uint16\+\_\+t} $\ast$\hyperlink{cordic2c_8c_ab746e677f466f17031e92ed577fc3c15}{Y})
\item 
\hyperlink{earth2wireframe_8c_ad0fe97585b8891f5e4f2b9a6426330a4}{M\+E\+M\+S\+P\+A\+CE} int \hyperlink{xpt2046_8h_ac22e4f7d0ddbfd16b0c685f90db56656}{X\+P\+T2046\+\_\+xy\+\_\+filtered} (\hyperlink{send_8c_a273cf69d639a59973b6019625df33e30}{uint16\+\_\+t} $\ast$\hyperlink{cordic2c_8c_a46b4b48ef8c0c01099eb3bcdde8aa8db}{X}, \hyperlink{send_8c_a273cf69d639a59973b6019625df33e30}{uint16\+\_\+t} $\ast$\hyperlink{cordic2c_8c_ab746e677f466f17031e92ed577fc3c15}{Y})
\item 
\hyperlink{earth2wireframe_8c_ad0fe97585b8891f5e4f2b9a6426330a4}{M\+E\+M\+S\+P\+A\+CE} int \hyperlink{xpt2046_8h_abc3bff89c0ea5ee5bb74fa9ce6514789}{nearest\+\_\+run} (int $\ast$v, int size, int minsamples, int $\ast$count)
\item 
\hyperlink{earth2wireframe_8c_ad0fe97585b8891f5e4f2b9a6426330a4}{M\+E\+M\+S\+P\+A\+CE} int \hyperlink{xpt2046_8h_a16726a7a1ffb7ff25c3a2601b578cc19}{X\+P\+T2046\+\_\+xy\+\_\+filtered\+\_\+test} (\hyperlink{send_8c_a273cf69d639a59973b6019625df33e30}{uint16\+\_\+t} $\ast$\hyperlink{cordic2c_8c_a46b4b48ef8c0c01099eb3bcdde8aa8db}{X}, \hyperlink{send_8c_a273cf69d639a59973b6019625df33e30}{uint16\+\_\+t} $\ast$\hyperlink{cordic2c_8c_ab746e677f466f17031e92ed577fc3c15}{Y})
\item 
\hyperlink{earth2wireframe_8c_ad0fe97585b8891f5e4f2b9a6426330a4}{M\+E\+M\+S\+P\+A\+CE} void \hyperlink{xpt2046_8h_ab0f1cf1130e264b4181a0b525c9be839}{X\+P\+T2046\+\_\+task} (void)
\item 
\hyperlink{earth2wireframe_8c_ad0fe97585b8891f5e4f2b9a6426330a4}{M\+E\+M\+S\+P\+A\+CE} int \hyperlink{xpt2046_8h_a69fc6431a2058d4fd8c26af6547cfae5}{X\+P\+T2046\+\_\+key} (\hyperlink{send_8c_a273cf69d639a59973b6019625df33e30}{uint16\+\_\+t} $\ast$\hyperlink{cordic2c_8c_a46b4b48ef8c0c01099eb3bcdde8aa8db}{X}, \hyperlink{send_8c_a273cf69d639a59973b6019625df33e30}{uint16\+\_\+t} $\ast$\hyperlink{cordic2c_8c_ab746e677f466f17031e92ed577fc3c15}{Y})
\item 
\hyperlink{earth2wireframe_8c_ad0fe97585b8891f5e4f2b9a6426330a4}{M\+E\+M\+S\+P\+A\+CE} int \hyperlink{xpt2046_8h_a3c3571dfe466884bea2a25234aca83ad}{sdev} (\hyperlink{send_8c_a273cf69d639a59973b6019625df33e30}{uint16\+\_\+t} $\ast$samples, int size, \hyperlink{xpt2046_8h_a4224e555e9e1280374a4987534846703}{sdev\+\_\+t} $\ast$\hyperlink{cordic2c_8c_a3da94d1c83a43c30add6c05fbbe1f194}{Z})
\end{DoxyCompactItemize}


\subsection{Macro Definition Documentation}
\index{xpt2046.\+h@{xpt2046.\+h}!X\+P\+T2046\+\_\+\+D\+E\+B\+O\+U\+N\+CE@{X\+P\+T2046\+\_\+\+D\+E\+B\+O\+U\+N\+CE}}
\index{X\+P\+T2046\+\_\+\+D\+E\+B\+O\+U\+N\+CE@{X\+P\+T2046\+\_\+\+D\+E\+B\+O\+U\+N\+CE}!xpt2046.\+h@{xpt2046.\+h}}
\subsubsection[{\texorpdfstring{X\+P\+T2046\+\_\+\+D\+E\+B\+O\+U\+N\+CE}{XPT2046_DEBOUNCE}}]{\setlength{\rightskip}{0pt plus 5cm}\#define X\+P\+T2046\+\_\+\+D\+E\+B\+O\+U\+N\+CE~5 /$\ast$ Debound value in mS $\ast$/}\hypertarget{xpt2046_8h_a6e35379ae648fa9db798144a9902f8ec}{}\label{xpt2046_8h_a6e35379ae648fa9db798144a9902f8ec}


Definition at line 30 of file xpt2046.\+h.

\index{xpt2046.\+h@{xpt2046.\+h}!X\+P\+T2046\+\_\+\+E\+V\+E\+N\+TS@{X\+P\+T2046\+\_\+\+E\+V\+E\+N\+TS}}
\index{X\+P\+T2046\+\_\+\+E\+V\+E\+N\+TS@{X\+P\+T2046\+\_\+\+E\+V\+E\+N\+TS}!xpt2046.\+h@{xpt2046.\+h}}
\subsubsection[{\texorpdfstring{X\+P\+T2046\+\_\+\+E\+V\+E\+N\+TS}{XPT2046_EVENTS}}]{\setlength{\rightskip}{0pt plus 5cm}\#define X\+P\+T2046\+\_\+\+E\+V\+E\+N\+TS~10 /$\ast$ Number of queued touch events $\ast$/}\hypertarget{xpt2046_8h_abce5dd412f3f040208dab108718fb875}{}\label{xpt2046_8h_abce5dd412f3f040208dab108718fb875}


Definition at line 31 of file xpt2046.\+h.

\index{xpt2046.\+h@{xpt2046.\+h}!X\+P\+T2046\+\_\+\+R\+E\+A\+D\+\_\+X@{X\+P\+T2046\+\_\+\+R\+E\+A\+D\+\_\+X}}
\index{X\+P\+T2046\+\_\+\+R\+E\+A\+D\+\_\+X@{X\+P\+T2046\+\_\+\+R\+E\+A\+D\+\_\+X}!xpt2046.\+h@{xpt2046.\+h}}
\subsubsection[{\texorpdfstring{X\+P\+T2046\+\_\+\+R\+E\+A\+D\+\_\+X}{XPT2046_READ_X}}]{\setlength{\rightskip}{0pt plus 5cm}\#define X\+P\+T2046\+\_\+\+R\+E\+A\+D\+\_\+X~0xd1	/$\ast$ Read X position $\ast$/}\hypertarget{xpt2046_8h_aacb7a75fd6c78e1cd4e87fa930654ef6}{}\label{xpt2046_8h_aacb7a75fd6c78e1cd4e87fa930654ef6}


Definition at line 37 of file xpt2046.\+h.

\index{xpt2046.\+h@{xpt2046.\+h}!X\+P\+T2046\+\_\+\+R\+E\+A\+D\+\_\+Y@{X\+P\+T2046\+\_\+\+R\+E\+A\+D\+\_\+Y}}
\index{X\+P\+T2046\+\_\+\+R\+E\+A\+D\+\_\+Y@{X\+P\+T2046\+\_\+\+R\+E\+A\+D\+\_\+Y}!xpt2046.\+h@{xpt2046.\+h}}
\subsubsection[{\texorpdfstring{X\+P\+T2046\+\_\+\+R\+E\+A\+D\+\_\+Y}{XPT2046_READ_Y}}]{\setlength{\rightskip}{0pt plus 5cm}\#define X\+P\+T2046\+\_\+\+R\+E\+A\+D\+\_\+Y~0x91    /$\ast$ Read Y position$\ast$/}\hypertarget{xpt2046_8h_aad6adcb00000ad4cdef14ece5e21bd81}{}\label{xpt2046_8h_aad6adcb00000ad4cdef14ece5e21bd81}


only need 4 commands for reading position or touch information 



Definition at line 34 of file xpt2046.\+h.

\index{xpt2046.\+h@{xpt2046.\+h}!X\+P\+T2046\+\_\+\+R\+E\+A\+D\+\_\+\+Z1@{X\+P\+T2046\+\_\+\+R\+E\+A\+D\+\_\+\+Z1}}
\index{X\+P\+T2046\+\_\+\+R\+E\+A\+D\+\_\+\+Z1@{X\+P\+T2046\+\_\+\+R\+E\+A\+D\+\_\+\+Z1}!xpt2046.\+h@{xpt2046.\+h}}
\subsubsection[{\texorpdfstring{X\+P\+T2046\+\_\+\+R\+E\+A\+D\+\_\+\+Z1}{XPT2046_READ_Z1}}]{\setlength{\rightskip}{0pt plus 5cm}\#define X\+P\+T2046\+\_\+\+R\+E\+A\+D\+\_\+\+Z1~0xb1	/$\ast$ Read Z1 $\ast$/}\hypertarget{xpt2046_8h_a1f7063812ae4edbb96165244ee717815}{}\label{xpt2046_8h_a1f7063812ae4edbb96165244ee717815}


Definition at line 35 of file xpt2046.\+h.

\index{xpt2046.\+h@{xpt2046.\+h}!X\+P\+T2046\+\_\+\+R\+E\+A\+D\+\_\+\+Z2@{X\+P\+T2046\+\_\+\+R\+E\+A\+D\+\_\+\+Z2}}
\index{X\+P\+T2046\+\_\+\+R\+E\+A\+D\+\_\+\+Z2@{X\+P\+T2046\+\_\+\+R\+E\+A\+D\+\_\+\+Z2}!xpt2046.\+h@{xpt2046.\+h}}
\subsubsection[{\texorpdfstring{X\+P\+T2046\+\_\+\+R\+E\+A\+D\+\_\+\+Z2}{XPT2046_READ_Z2}}]{\setlength{\rightskip}{0pt plus 5cm}\#define X\+P\+T2046\+\_\+\+R\+E\+A\+D\+\_\+\+Z2~0xc1    /$\ast$ read Z2 $\ast$/}\hypertarget{xpt2046_8h_aee315feb898d4f6f35389cb3068ad1eb}{}\label{xpt2046_8h_aee315feb898d4f6f35389cb3068ad1eb}


Definition at line 36 of file xpt2046.\+h.

\index{xpt2046.\+h@{xpt2046.\+h}!X\+P\+T2046\+\_\+\+S\+A\+M\+P\+L\+ES@{X\+P\+T2046\+\_\+\+S\+A\+M\+P\+L\+ES}}
\index{X\+P\+T2046\+\_\+\+S\+A\+M\+P\+L\+ES@{X\+P\+T2046\+\_\+\+S\+A\+M\+P\+L\+ES}!xpt2046.\+h@{xpt2046.\+h}}
\subsubsection[{\texorpdfstring{X\+P\+T2046\+\_\+\+S\+A\+M\+P\+L\+ES}{XPT2046_SAMPLES}}]{\setlength{\rightskip}{0pt plus 5cm}\#define X\+P\+T2046\+\_\+\+S\+A\+M\+P\+L\+ES~8 /$\ast$ number of samples to take $\ast$/}\hypertarget{xpt2046_8h_a0f015f6bedcfd4583ed1133ed6d11963}{}\label{xpt2046_8h_a0f015f6bedcfd4583ed1133ed6d11963}


number of time to read and average results 



Definition at line 29 of file xpt2046.\+h.



\subsection{Typedef Documentation}
\index{xpt2046.\+h@{xpt2046.\+h}!sdev\+\_\+t@{sdev\+\_\+t}}
\index{sdev\+\_\+t@{sdev\+\_\+t}!xpt2046.\+h@{xpt2046.\+h}}
\subsubsection[{\texorpdfstring{sdev\+\_\+t}{sdev_t}}]{\setlength{\rightskip}{0pt plus 5cm}typedef struct {\bf \+\_\+sdev}  {\bf sdev\+\_\+t}}\hypertarget{xpt2046_8h_a4224e555e9e1280374a4987534846703}{}\label{xpt2046_8h_a4224e555e9e1280374a4987534846703}
\index{xpt2046.\+h@{xpt2046.\+h}!xpt2046\+\_\+t@{xpt2046\+\_\+t}}
\index{xpt2046\+\_\+t@{xpt2046\+\_\+t}!xpt2046.\+h@{xpt2046.\+h}}
\subsubsection[{\texorpdfstring{xpt2046\+\_\+t}{xpt2046_t}}]{\setlength{\rightskip}{0pt plus 5cm}typedef struct {\bf \+\_\+xpt2046}  {\bf xpt2046\+\_\+t}}\hypertarget{xpt2046_8h_a08bf485f6a48ae0788b72c98a416e01c}{}\label{xpt2046_8h_a08bf485f6a48ae0788b72c98a416e01c}
\index{xpt2046.\+h@{xpt2046.\+h}!xpt2046\+\_\+win\+\_\+t@{xpt2046\+\_\+win\+\_\+t}}
\index{xpt2046\+\_\+win\+\_\+t@{xpt2046\+\_\+win\+\_\+t}!xpt2046.\+h@{xpt2046.\+h}}
\subsubsection[{\texorpdfstring{xpt2046\+\_\+win\+\_\+t}{xpt2046_win_t}}]{\setlength{\rightskip}{0pt plus 5cm}typedef struct {\bf xpt2046\+\_\+win}  {\bf xpt2046\+\_\+win\+\_\+t}}\hypertarget{xpt2046_8h_a1e217d8fafba01c2ad20b0986a613316}{}\label{xpt2046_8h_a1e217d8fafba01c2ad20b0986a613316}


initial calibration values for your display Note\+: these values are not rotated 


\begin{DoxyItemize}
\item rotations are applied dynamically based on the display state and data structures 
\end{DoxyItemize}

\subsection{Function Documentation}
\index{xpt2046.\+h@{xpt2046.\+h}!nearest\+\_\+run@{nearest\+\_\+run}}
\index{nearest\+\_\+run@{nearest\+\_\+run}!xpt2046.\+h@{xpt2046.\+h}}
\subsubsection[{\texorpdfstring{nearest\+\_\+run(int $\ast$v, int size, int minsamples, int $\ast$count)}{nearest_run(int *v, int size, int minsamples, int *count)}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf M\+E\+M\+S\+P\+A\+CE} int nearest\+\_\+run (
\begin{DoxyParamCaption}
\item[{int $\ast$}]{v, }
\item[{int}]{size, }
\item[{int}]{minsamples, }
\item[{int $\ast$}]{count}
\end{DoxyParamCaption}
)}\hypertarget{xpt2046_8h_abc3bff89c0ea5ee5bb74fa9ce6514789}{}\label{xpt2046_8h_abc3bff89c0ea5ee5bb74fa9ce6514789}
\index{xpt2046.\+h@{xpt2046.\+h}!sdev@{sdev}}
\index{sdev@{sdev}!xpt2046.\+h@{xpt2046.\+h}}
\subsubsection[{\texorpdfstring{sdev(uint16\+\_\+t $\ast$samples, int size, sdev\+\_\+t $\ast$\+Z)}{sdev(uint16_t *samples, int size, sdev_t *Z)}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf M\+E\+M\+S\+P\+A\+CE} int sdev (
\begin{DoxyParamCaption}
\item[{{\bf uint16\+\_\+t} $\ast$}]{samples, }
\item[{int}]{size, }
\item[{{\bf sdev\+\_\+t} $\ast$}]{Z}
\end{DoxyParamCaption}
)}\hypertarget{xpt2046_8h_a3c3571dfe466884bea2a25234aca83ad}{}\label{xpt2046_8h_a3c3571dfe466884bea2a25234aca83ad}
\index{xpt2046.\+h@{xpt2046.\+h}!X\+P\+T2046\+\_\+key@{X\+P\+T2046\+\_\+key}}
\index{X\+P\+T2046\+\_\+key@{X\+P\+T2046\+\_\+key}!xpt2046.\+h@{xpt2046.\+h}}
\subsubsection[{\texorpdfstring{X\+P\+T2046\+\_\+key(uint16\+\_\+t $\ast$\+X, uint16\+\_\+t $\ast$\+Y)}{XPT2046_key(uint16_t *X, uint16_t *Y)}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf M\+E\+M\+S\+P\+A\+CE} int X\+P\+T2046\+\_\+key (
\begin{DoxyParamCaption}
\item[{{\bf uint16\+\_\+t} $\ast$}]{X, }
\item[{{\bf uint16\+\_\+t} $\ast$}]{Y}
\end{DoxyParamCaption}
)}\hypertarget{xpt2046_8h_a69fc6431a2058d4fd8c26af6547cfae5}{}\label{xpt2046_8h_a69fc6431a2058d4fd8c26af6547cfae5}
\index{xpt2046.\+h@{xpt2046.\+h}!X\+P\+T2046\+\_\+key\+\_\+flush@{X\+P\+T2046\+\_\+key\+\_\+flush}}
\index{X\+P\+T2046\+\_\+key\+\_\+flush@{X\+P\+T2046\+\_\+key\+\_\+flush}!xpt2046.\+h@{xpt2046.\+h}}
\subsubsection[{\texorpdfstring{X\+P\+T2046\+\_\+key\+\_\+flush(void)}{XPT2046_key_flush(void)}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf M\+E\+M\+S\+P\+A\+CE} void X\+P\+T2046\+\_\+key\+\_\+flush (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\hypertarget{xpt2046_8h_a73c23d30b0f5adc10232894c18112778}{}\label{xpt2046_8h_a73c23d30b0f5adc10232894c18112778}
\index{xpt2046.\+h@{xpt2046.\+h}!X\+P\+T2046\+\_\+read@{X\+P\+T2046\+\_\+read}}
\index{X\+P\+T2046\+\_\+read@{X\+P\+T2046\+\_\+read}!xpt2046.\+h@{xpt2046.\+h}}
\subsubsection[{\texorpdfstring{X\+P\+T2046\+\_\+read(uint8\+\_\+t cmd)}{XPT2046_read(uint8_t cmd)}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf uint16\+\_\+t} X\+P\+T2046\+\_\+read (
\begin{DoxyParamCaption}
\item[{{\bf uint8\+\_\+t}}]{cmd}
\end{DoxyParamCaption}
)}\hypertarget{xpt2046_8h_a1dccf53d8f7692a9ae5f272c7a16f462}{}\label{xpt2046_8h_a1dccf53d8f7692a9ae5f272c7a16f462}
\index{xpt2046.\+h@{xpt2046.\+h}!X\+P\+T2046\+\_\+spi\+\_\+init@{X\+P\+T2046\+\_\+spi\+\_\+init}}
\index{X\+P\+T2046\+\_\+spi\+\_\+init@{X\+P\+T2046\+\_\+spi\+\_\+init}!xpt2046.\+h@{xpt2046.\+h}}
\subsubsection[{\texorpdfstring{X\+P\+T2046\+\_\+spi\+\_\+init(void)}{XPT2046_spi_init(void)}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf M\+E\+M\+S\+P\+A\+CE} void X\+P\+T2046\+\_\+spi\+\_\+init (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\hypertarget{xpt2046_8h_acb7288fd027f95ea7db88c6f8c7c2c2a}{}\label{xpt2046_8h_acb7288fd027f95ea7db88c6f8c7c2c2a}


Referenced by setup().

\index{xpt2046.\+h@{xpt2046.\+h}!X\+P\+T2046\+\_\+task@{X\+P\+T2046\+\_\+task}}
\index{X\+P\+T2046\+\_\+task@{X\+P\+T2046\+\_\+task}!xpt2046.\+h@{xpt2046.\+h}}
\subsubsection[{\texorpdfstring{X\+P\+T2046\+\_\+task(void)}{XPT2046_task(void)}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf M\+E\+M\+S\+P\+A\+CE} void X\+P\+T2046\+\_\+task (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\hypertarget{xpt2046_8h_ab0f1cf1130e264b4181a0b525c9be839}{}\label{xpt2046_8h_ab0f1cf1130e264b4181a0b525c9be839}


Referenced by user\+\_\+loop().

\index{xpt2046.\+h@{xpt2046.\+h}!X\+P\+T2046\+\_\+xy\+\_\+filtered@{X\+P\+T2046\+\_\+xy\+\_\+filtered}}
\index{X\+P\+T2046\+\_\+xy\+\_\+filtered@{X\+P\+T2046\+\_\+xy\+\_\+filtered}!xpt2046.\+h@{xpt2046.\+h}}
\subsubsection[{\texorpdfstring{X\+P\+T2046\+\_\+xy\+\_\+filtered(uint16\+\_\+t $\ast$\+X, uint16\+\_\+t $\ast$\+Y)}{XPT2046_xy_filtered(uint16_t *X, uint16_t *Y)}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf M\+E\+M\+S\+P\+A\+CE} int X\+P\+T2046\+\_\+xy\+\_\+filtered (
\begin{DoxyParamCaption}
\item[{{\bf uint16\+\_\+t} $\ast$}]{X, }
\item[{{\bf uint16\+\_\+t} $\ast$}]{Y}
\end{DoxyParamCaption}
)}\hypertarget{xpt2046_8h_ac22e4f7d0ddbfd16b0c685f90db56656}{}\label{xpt2046_8h_ac22e4f7d0ddbfd16b0c685f90db56656}
\index{xpt2046.\+h@{xpt2046.\+h}!X\+P\+T2046\+\_\+xy\+\_\+filtered\+\_\+test@{X\+P\+T2046\+\_\+xy\+\_\+filtered\+\_\+test}}
\index{X\+P\+T2046\+\_\+xy\+\_\+filtered\+\_\+test@{X\+P\+T2046\+\_\+xy\+\_\+filtered\+\_\+test}!xpt2046.\+h@{xpt2046.\+h}}
\subsubsection[{\texorpdfstring{X\+P\+T2046\+\_\+xy\+\_\+filtered\+\_\+test(uint16\+\_\+t $\ast$\+X, uint16\+\_\+t $\ast$\+Y)}{XPT2046_xy_filtered_test(uint16_t *X, uint16_t *Y)}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf M\+E\+M\+S\+P\+A\+CE} int X\+P\+T2046\+\_\+xy\+\_\+filtered\+\_\+test (
\begin{DoxyParamCaption}
\item[{{\bf uint16\+\_\+t} $\ast$}]{X, }
\item[{{\bf uint16\+\_\+t} $\ast$}]{Y}
\end{DoxyParamCaption}
)}\hypertarget{xpt2046_8h_a16726a7a1ffb7ff25c3a2601b578cc19}{}\label{xpt2046_8h_a16726a7a1ffb7ff25c3a2601b578cc19}
\index{xpt2046.\+h@{xpt2046.\+h}!X\+P\+T2046\+\_\+xy\+\_\+raw@{X\+P\+T2046\+\_\+xy\+\_\+raw}}
\index{X\+P\+T2046\+\_\+xy\+\_\+raw@{X\+P\+T2046\+\_\+xy\+\_\+raw}!xpt2046.\+h@{xpt2046.\+h}}
\subsubsection[{\texorpdfstring{X\+P\+T2046\+\_\+xy\+\_\+raw(uint16\+\_\+t $\ast$\+X, uint16\+\_\+t $\ast$\+Y)}{XPT2046_xy_raw(uint16_t *X, uint16_t *Y)}}]{\setlength{\rightskip}{0pt plus 5cm}int X\+P\+T2046\+\_\+xy\+\_\+raw (
\begin{DoxyParamCaption}
\item[{{\bf uint16\+\_\+t} $\ast$}]{X, }
\item[{{\bf uint16\+\_\+t} $\ast$}]{Y}
\end{DoxyParamCaption}
)}\hypertarget{xpt2046_8h_a02c4dcf896824df15a98acfbe045d19d}{}\label{xpt2046_8h_a02c4dcf896824df15a98acfbe045d19d}
